package com.csun.cmny.provider.model.domain;

import com.csun.cmny.core.mybatis.BaseEntity;
import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Data
@Table(name = "cn_omc_advisory")
public class OmcAdvisory extends BaseEntity {

    /**
     * 版本号
     */
    private Integer version;

    /**
     * 咨询人名称
     */
    @Column(name = "advisory_Name")
    private String advisoryName;

    /**
     * 联系方式1
     */
    @Column(name = "advisory_Phone")
    private String advisoryPhone;

    /**
     * 老人姓名
     */
    @Column(name = "old_Name")
    private String oldName;

    /**
     * 老人性别 0 男 1 女
     */
    @Column(name = "old_Sex")
    private Integer oldSex;

    /**
     * 意向床位 1 单人间 2 双人间 3 三人间 4 4人间及以上
     */
    @Column(name = "intention_Bed")
    private String intentionBed;

    /**
     * 预约床位——床位id
     */
    @Column(name = "bed_Id")
    private Integer bedId;

    /*
    * 预约床位--床位号
    * */
    @Column(name = "bed_No")
    private String bedNo;

    /**
     * 预约房间——房间id
     */
    @Column(name = "room_Id")
    private Integer roomId;

    /**
     * 咨询方式 1 到访 2 电话
     */
    @Column(name = "advisory_Way")
    private Integer advisoryWay;

    /*护理等级id*/
    @Column(name = "level_care_id")
    private Long levelCareId;

    /*护理等级*/
    @Column(name = "nursing_care")
    private String nursingCare;

    /**
     * 入住状态 1 咨询 2 入住
     */
    @Column(name = "advisory_Status")
    private Integer advisoryStatus;

    /**
     * 接待人
     */
    private String receptionist;

    /**
     * 住址
     */
    private String address;

    /**
     * 咨询日期 2018-03-28
     */
    @Column(name = "advisory_Date")
    private String advisoryDate;

    /**
     * 出生日期 2018-06-06
     */
    private String birthday;

    /**
     * 与老人关系 1-子女 2-兄弟姐妹 3-旁系亲属 4-朋友 5-其他
     */
    private Integer relationship;

    /**
     * 咨询人联系方式2
     */
    @Column(name = "advisory_Phone_Two")
    private String advisoryPhoneTwo;

    /**
     * 组织Id
     */
    @Column(name = "group_id")
    private Long groupId;

    /**
     * 备注
     */
    private String remark;

    /*
    * 楼栋id
    * */
    @Column(name = "building_id")
    private Integer buildingId;

    /*
    * 楼层号
    * */
    @Column(name = "floor_No")
    private Integer floorNo;
}